//package com.wyd.flowable;
//
//import org.flowable.ui.common.model.UserRepresentation;
//import org.springframework.context.annotation.Primary;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.ArrayList;
//import java.util.List;
//
///**
// * @author 王叶东
// * @since 2025/6/13 9:35
// */
//@Primary
//@RestController
//@RequestMapping({"/app", "/"})
//public class RemoteAccountResource2 {
//    @RequestMapping(value = "/rest/account", method = RequestMethod.GET, produces = "application/json")
//    public UserRepresentation getAccount() {
//        UserRepresentation userRepresentation = new UserRepresentation();
////        userRepresentation.setId("admin");
////        userRepresentation.setFirstName();
//        List<String> privileges = new ArrayList<>();
//        privileges.add("flowable-idm");
//        privileges.add("flowable-modeler");
//        privileges.add("flowable-task");
//        userRepresentation.setPrivileges(privileges);
//        return userRepresentation;
//
//    }
//}
